package com.aidex.biz.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aidex.common.utils.log.annotation.FieldRemark;
import com.aidex.common.utils.log.annotation.LogField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 产品资料对象 biz_product_files
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2025-07-18
 */
@Data
public class ProductFiles extends BaseEntity<ProductFiles> {
    private static final long serialVersionUID = 1L;


    /**
     * 资料名称
     */
    @Excel(name = "资料名称")
    private String filesName;

    /**
     * 产品ID
     */
    @Excel(name = "产品ID")
    private String productId;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 状态（0正常 1 停用）
     */
    private String status;


    /**
     * 产品资料
     */
    private List<Map<String, Object>> jinjianFilesList;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("userName", getUserName())
                .append("deptName", getDeptName())
                .append("companyId", getCompanyId())
                .append("filesName", getFilesName())
                .append("productId", getProductId())
                .append("sort", getSort())
                .append("status", getStatus())
                .append("remark", getRemark())
                .append("id", getId())
                .append("createBy", getCreateBy())
                .append("createDept", getCreateDept())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("updateIp", getUpdateIp())
                .append("version", getVersion())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
